package org.dubnation.base.excel.download.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class EmployeeVO implements Serializable {

    /**
     * 姓名
     */
    @Excel(name = "姓名", width = 10, replace = {"无_null"})
    private String realName;
    @Excel(name = "邮箱", width = 20, replace = {"无_null"})
    private String email;
    @Excel(name = "手机号码", width = 20, replace = {"无_null"})
    private String phone;
    @Excel(name = "年龄", width = 10, replace = {"无_null"})
    private Integer age;
    @Excel(name = "性别", width = 10, replace = {"男_1", "女_0", "无_null"})
    private Integer sex;
    /**
     * 1=正常 2=锁定 3=注销
     */
    @Excel(name = "状态", width = 10, replace = {"正常_1", "锁定_2", "注销_3", "无_null"})
    private Integer state;
}
